package Mangos::DB::Characters::CharacterSocial;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'character_social',

    columns => 
    [
        guid   => { type => 'integer', not_null => 1 },
        friend => { type => 'integer', not_null => 1 },
        flags  => { type => 'integer', not_null => 1 },
        note   => { type => 'varchar', default => '', length => 48, not_null => 1 },
    ],

    primary_key_columns => [ 'guid', 'friend', 'flags' ],
);

1;

package Mangos::DB::Characters::CharacterSocial::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::CharacterSocial' }

__PACKAGE__->make_manager_methods('character_social');

1;
